package com.koocloud.electroplatemanage.service;

import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.IncomePartJudgeVo;

import java.util.List;

/**
 * @program: electroplatemanage
 * @description: 来料接收与判定Service接口
 * @author: zww
 * @create: 2020-10-08 13:22
 */
public interface IncomePartJudgeService {
    //通过pk查询一条记录
    ResponseTemplate selectByPk(String id);
    //查询所有记录
    ResponseTemplate selectAllData(String page, String limit,String beginTime,String endTime,String idOrName);
    //插入一条记录
    ResponseTemplate insert(IncomePartJudgeVo incomePartJudgeVo);
    //批量插入记录
    ResponseTemplate batchInsert(List<IncomePartJudgeVo> listIncomePartJudgeVo);
    //逻辑删除一条记录
    ResponseTemplate delete(String id,String userName);
    //通过pks批量逻辑删除记录
    ResponseTemplate batchDeleteByPks(List<String> listPks);
    //修改一条记录
    ResponseTemplate update(IncomePartJudgeVo incomePartJudgeVo);

    //先获取已生效的副表字段，拼接主表字段，得到总字段作为查询接口的第一个数组返回将数组的每一列用LinkedHashMap拿到对应的数据，作为第二个数组
    ResponseTemplate selectTotalIncomepartjudge();
    //获取来料主表订单号
    ResponseTemplate getIncomePartJudgeOrderNo();
    //获取序
    ResponseTemplate getId();
    //获取来料主表含税单价
    ResponseTemplate getIncomePartJudgeUnitPrice(String drawNoCode);
    //获取来料主表含税总价
    ResponseTemplate getIncomePartJudgeUnitTotalPrice(IncomePartJudgeVo incomePartJudgeVo);
    //获取来料主表工时
    ResponseTemplate getIncomePartJudgeUnitWorkTime(IncomePartJudgeVo incomePartJudgeVo);
    //获取来料主表总工时
    ResponseTemplate getIncomePartJudgeUnitTotalWorkTime(IncomePartJudgeVo incomePartJudgeVo);
    //获取前端表头信息
    ResponseTemplate getIncomePartField();
    //excel数据导入
    ResponseTemplate getExcelImport(String idName,String file);
    //来料信息确认按钮
    ResponseTemplate confirmEntryInfo(String workOrderNumber,String id);

    //查询所有非权限数据
    ResponseTemplate selectAllNotAuthData(String page, String limit,String beginTime,String endTime, String idOrName);

    //查询全部数据不进行分页
    ResponseTemplate selectAllDataTwo();
    //工艺卡片打印查询
    ResponseTemplate selectProcessCardPrinting(String page, String limit, String beginTime, String endTime, String idOrName);
}

